import request from '@/utils/request'
import global from '../config/global'

export function getUploadFileRequest() {
  return global.BASE_API+'/system/uploadFile'
}
export function getUploadMultipleFileRequest() {
  return global.BASE_API+'/system/uploadMultipleFile'
}
export function uploadMultipleFile(data) {
  return request({
    url: '/system/uploadMultipleFile',
    method: 'post',
    dataType: 'JSON',
    cache: false,
    processData: false,
    headers:{
      'Content-Type': 'multipart/form-data'
    },
    data: data,
  })
}
